package cn.itsource.api;

import cn.itsource.fallback.DriverRemoteApiFallbackFactory;
import cn.itsource.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "it-fccar-service-driver",fallbackFactory = DriverRemoteApiFallbackFactory.class)
public interface DriverRemoteApi {
    @GetMapping("/manager/driver/getCancelAndComplaint")
    public JSONResult getCancelAndComplaint();
}
